provider Snapshots DELETE /api/0/organizations/{organization_id_or_slug}/preprodartifacts/snapshots/{snapshot_id}/
@utdk/sentry /api/0/organizations/{organization_id_or_slug}/preprodartifacts/snapshots/{snapshot_id}/
Delete a Snapshot
Delete a snapshot and all associated data (images, comparisons, metrics). This is a permanent, irreversible operation. The snapshot and its images will no longer be accessible after deletion. This endpoint requires a bearer token with `project:write` access.
organization_id_or_slug path required
The ID or slug of the organization the resource belongs to.
string
snapshot_id path required
The ID of the snapshot to delete.
string

Try it

Authentication
Configure credentials for API Reference
deleteASnapshot
DELETE/api/0/organizations/{organization_id_or_slug}/preprodartifacts/snapshots/{snapshot_id}/
Delete a snapshot and all associated data (images, comparisons, metrics). This is a permanent, irreversible operation. The snapshot and its images will no longer be accessible after deletion. This endpoint requires a bearer token with `project:write` access.

Parameters

required

The ID or slug of the organization the resource belongs to.

required

The ID of the snapshot to delete.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import sentry from '@utdk/sentry';

await sentry.deleteASnapshot()